package yuyicman.events 
{
	import flash.events.Event;
	import yuyicman.managers.IPage;
	import yuyicman.managers.PageManager;
	
	/**
	 * ...
	 * @author Yuyic.
	 */
	public class PageEvent extends Event 
	{
		
		public static const OPEN:String = "open";
		
		public static const CLOSE:String = "close";
		
		public static const CHANGED:String = "changed";
		
		private var _page:IPage;
		
		public function PageEvent( type:String, bubbles:Boolean = false, cancelable:Boolean = false) 
		{
			super( type, bubbles, cancelable );
		}
		
		public function get page():IPage {
			return PageManager.instance.page;
		}
		
	}

}